package com.items;


//定义的数据项数据
public class person {
    private int id=-1;//初始化
    private String name;
    private String phone_1;
    private String phone_2;
    public person(){}
    public person(int id,String name,String p){
        this.name=name;
        this.id=id;
        this.phone_1=p;
        this.phone_2="";
    }
    public person(String name,String p1,String p2){
        this.name=name;
        this.phone_1=p1;
        this.phone_2=p2;
    }
    public person(int id,String name, String p, String p2){
        this.name=name;
        this.id=id;
        this.phone_1=p;
        this.phone_2=p2;
    }
    public String getPhone_2() {
        return phone_2;
    }

    public void setPhone_2(String phone_2) {
        this.phone_2 = phone_2;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone_1() {
        return phone_1;
    }

    public void setPhone_1(String phone_1) {
        this.phone_1 = phone_1;
    }
}
